//加载模板内变量
@import "../common/variables_front_custom";
@import "../common/variables_front_default";
@import "../common/variables";
//加载通用混合
@import "../common/mixins";

/**
注册界面
*/
.register-wrapper {
	text-align: center;
	padding-top: 20px;
}

.register-container {
	vertical-align: text-bottom;
	display: inline-block;
	text-align: left;
	position: relative;
}

.register-form {
	//width: $register-form-width;
	//padding: $register-form-margin;
	background-color: $register-container-background;
	h5 {
		margin-bottom: 1em;
		font-weight: 600;
	}
}

.register-name {
	font-size: 40px;
	color: #e6e6e6;
}

.user-avatar {
	$avatar-width: 60px;

	border-radius: 50%;
	display: inline-block;
	position: relative;
	height: $avatar-width;
	width: $avatar-width;

	span {
		line-height: $avatar-width;
		display: none;
		position: absolute;
		color: white;
		background: rgba(#000, 0.3);
		width: 100%;
		height: 100%;
	}

	&:hover {
		span {
			display: inline-block;
		}
	}

	img {
		width: $avatar-width;
		height: $avatar-width;
	}
}

.user-avatar-tip {
	font-size: 10px;
}

.img-cropper-original {
	max-height: 400px;
	min-height: 200px;
	overflow: hidden;
}

.img-preview {
	canvas {
		width: 100px;
		height: 100px;
		padding: 2px;
		border-radius: 2px;
		border: $default-border;
	}
}

#avatar-tips {
	padding-top: 70px;
	height: 100%;
	display: inline-block;
	vertical-align: middle;
}

